﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 标准角色类型表
    /// </summary>
	[Table("FW_StandardRoleType")]
    [Display(Name = "标准角色类型表", Description = "标准角色类型表")]
    [AutoMapFrom(typeof(ViewFWStandardRoleType))] 
    public partial class FWStandardRoleTypeEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("StandardRoleTypeGUID")]
        [Display(Name = "标准角色类型表主键", Description = "标准角色类型表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 标准角色类型编码
        /// </summary>
		[Display(Name = "标准角色类型编码", Description = "标准角色类型编码")]
        [Column("StandardRoleTypeCode")]
		[StringLength(128)]
        public string StandardRoleTypeCode { get; set; }   

		/// <summary>
        /// 标准角色类型名称
        /// </summary>
		[Display(Name = "标准角色类型名称", Description = "标准角色类型名称")]
        [Column("StandardRoleTypeName")]
		[StringLength(128)]
        public string StandardRoleTypeName { get; set; }   
    }
}
